package com.cy.ppj.model.ao.rule;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description: 编辑角色
 * @author: Ocean
 * @create: 2018-07-31 17:42
 **/
@Data
@ApiModel("编辑角色")
public class RoleEditAO extends RoleAddAO{

    @ApiModelProperty(value = "角色ID", example = "0", required = true)
    @NotNull(message = "数据异常")
    private Long id;
}
